/***************************************************************
 * Name:      MainApp.cpp
 * Purpose:   Code for Application Class
 * Author:    Daniel King (cnkknd@gmail.com)
 * Created:   2007-04-22
 * Copyright: Daniel King ()
 * License:
 **************************************************************/

#include "wx_pch.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#include "mainApp.h"
#include "loginForm.h"
#include "mainForm.h"

IMPLEMENT_APP(MainApp);

bool MainApp::OnInit()
{
    m_locale.AddCatalogLookupPathPrefix(_T("./languages"));
    m_locale.Init(wxLANGUAGE_CHINESE_SIMPLIFIED);
    m_locale.AddCatalog(_T("main"));

    MainForm* mainForm = new MainForm(_("Google Calendar Client"), wxDefaultPosition, wxSize( 760,580 ));
//    mainForm->Show();


    return true;
}
